package io.renren.entity;

import java.io.Serializable;
import java.util.Date;

	 
	 
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import io.renren.utils.ShiftrangelistDateDeserializer;
import io.renren.utils.ShiftrangelistDateSerializer;

/**
 * 
 
 * 
 * @author zk
 * @email zk13899@163.com
 * @date 2017-06-19 11:51:06
 */
public class Shiftrangelist implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Integer id;
	//
	private String name;
	//
	private Date begintime;
	//
	private Date endtime;
	//
	private Integer overtime;
	//
	private Date startrecord;
	//
	private Date endrecord;

	/**
	 * 设置：
	 */
	 	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	  	public Integer getId() {
		return id;
	}
	/**
	 * 设置：
	 */
	 	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：
	 */
	  	public String getName() {
		return name;
	}
	  	
	/**
	 * 设置：
	 */
	  	@JsonDeserialize(using = ShiftrangelistDateDeserializer.class)  
	 	public void setBegintime(Date begintime) {
		this.begintime = begintime;
	}
	/**
	 * 获取：
	 */
	  	 @JsonSerialize(using = ShiftrangelistDateSerializer.class)
	 	public Date getBegintime() {
		return begintime;
	}
	/**
	 * 设置：
	 */
	 	 @JsonDeserialize(using = ShiftrangelistDateDeserializer.class) 
	 	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}
	/**
	 * 获取：
	 */
	  	 @JsonSerialize(using = ShiftrangelistDateSerializer.class)
	 	public Date getEndtime() {
		return endtime;
	}
	/**
	 * 设置：
	 */
	 	public void setOvertime(Integer overtime) {
		this.overtime = overtime;
	}
	/**
	 * 获取：
	 */
	  	public Integer getOvertime() {
		return overtime;
	}
	/**
	 * 设置：
	 */
	 	 @JsonDeserialize(using = ShiftrangelistDateDeserializer.class) 
	 	public void setStartrecord(Date startrecord) {
		this.startrecord = startrecord;
	}
	/**
	 * 获取：
	 */
	  	 @JsonSerialize(using = ShiftrangelistDateSerializer.class)
	 	public Date getStartrecord() {
		return startrecord;
	}
	/**
	 * 设置：
	 */
	 	 @JsonDeserialize(using = ShiftrangelistDateDeserializer.class) 
	 	public void setEndrecord(Date endrecord) {
		this.endrecord = endrecord;
	}
	/**
	 * 获取：
	 */
	  	 @JsonSerialize(using = ShiftrangelistDateSerializer.class)
	 	public Date getEndrecord() {
		return endrecord;
	}
}
